.popupBox {
    position: relative;
    max-height: 500px;
}

.MenuGroup {
    max-height: 500px;

    div>div {
        display: flex;
        align-items: center;
        height: 50px;
    }
}